/*------------------------------------------------------------------
    LOUIS MILLETTE — Personal Site Customizations
    Add your own styling here; avoid editing style.css and main.css.
-------------------------------------------------------------------*/

/* ============================================================
   HERO SECTION
   ============================================================ */
.lm-hero {
  position: relative;
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 100vh;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}
.lm-hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8, 8, 18, 0.78);
}
.lm-hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 160px 0 100px;
  width: 100%;
}
.lm-hero-content h1 {
  font-size: 76px;
  color: #fff;
  margin: 0 0 12px;
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
}
.lm-hero-title {
  font-size: 14px;
  letter-spacing: 5px;
  color: rgba(255,255,255,0.7);
  margin: 0 0 10px;
  text-transform: uppercase;
}
.lm-hero-sub {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin: 0 0 40px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.lm-hero-btns .btn { margin: 0 6px 10px; }
@media (max-width: 768px) {
  .lm-hero-content h1 { font-size: 40px; }
  .lm-hero-title { font-size: 11px; letter-spacing: 2px; }
  .lm-hero-sub { font-size: 10px; }
}

/* ============================================================
   SKILL BADGES
   ============================================================ */
.lm-skill-group { margin-bottom: 18px; }
.lm-skill-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  font-weight: 700;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
  display: block;
}
.lm-skill-badge {
  display: inline-block;
  background: #faf5f7;
  color: #af5875;
  border: 1px solid #e8cdd4;
  border-radius: 2px;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 10px;
  margin: 3px 3px 3px 0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: background 0.15s, color 0.15s;
}
.lm-skill-badge:hover {
  background: #af5875;
  color: #fff;
  text-decoration: none;
}

/* ============================================================
   WORK TIMELINE
   ============================================================ */
.lm-timeline {
  position: relative;
  padding: 0;
  list-style: none;
  margin-left: 10px;
}
.lm-timeline::before {
  content: '';
  position: absolute;
  top: 8px; bottom: 0; left: 0;
  width: 2px;
  background: #f0e8ea;
}
.lm-timeline-item {
  position: relative;
  padding: 0 0 32px 28px;
}
.lm-timeline-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 7px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: #af5875;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #af5875;
}
.lm-timeline-role {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 2px;
  font-family: 'Montserrat', sans-serif;
  color: #222;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lm-timeline-company {
  font-size: 12px;
  color: #af5875;
  font-weight: 600;
  margin: 0 0 3px;
  font-family: 'Montserrat', sans-serif;
}
.lm-timeline-dates {
  font-size: 10px;
  color: #aaa;
  font-family: 'Montserrat', sans-serif;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.lm-timeline-desc {
  font-size: 12px;
  color: #666;
  margin: 0;
  padding-left: 14px;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.7;
}
.lm-timeline-desc li { margin-bottom: 3px; }
.lm-timeline-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #fdf0f3;
  color: #af5875;
  border: 1px solid #e8cdd4;
  border-radius: 2px;
  padding: 1px 6px;
  vertical-align: middle;
  margin-left: 6px;
}

/* ============================================================
   PORTFOLIO HOVER CONTENT EXTRAS
   ============================================================ */
.hover-port p.lm-proj-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  margin: 4px 0 0;
  font-family: 'Montserrat', sans-serif;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}
.hover-port .fa { font-size: 18px; }

/* ============================================================
   CERTIFICATION BOX
   ============================================================ */
.lm-cert-item {
  padding: 16px 20px;
  background: #fdf8f9;
  border-left: 4px solid #af5875;
  margin-bottom: 14px;
  border-radius: 0 4px 4px 0;
}
.lm-cert-name {
  font-weight: 700;
  font-size: 12px;
  margin: 0 0 4px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #222;
}
.lm-cert-detail {
  font-size: 12px;
  color: #666;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

/* ============================================================
   EDUCATION BLOCK
   ============================================================ */
.lm-edu-degree {
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 4px;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #222;
}
.lm-edu-school {
  font-size: 12px;
  color: #af5875;
  font-weight: 600;
  margin: 0 0 2px;
  font-family: 'Montserrat', sans-serif;
}
.lm-edu-year {
  font-size: 10px;
  color: #aaa;
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   FOOTER CUSTOMIZATION
   ============================================================ */
.lm-footer-name {
  font-size: 30px;
  font-style: italic;
  color: #af5875;
  display: block;
  margin-bottom: 6px;
}

/* ============================================================
   LOADER TEXT LOGO
   ============================================================ */
.lm-loader-logo {
  font-size: 36px;
  font-style: italic;
  color: #af5875;
  display: block;
  margin-bottom: 10px;
  font-family: 'Playfair Display', serif;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-box .boxes-in {
  font-family: 'Montserrat', sans-serif;
}
.contact-box .boxes-in h6 {
  font-family: 'Montserrat', sans-serif;
}

/* ============================================================
   ABOUT PAGE BIO
   ============================================================ */
.lm-about-lead {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  line-height: 1.6;
  color: #333;
  font-style: italic;
  text-align: center;
  margin-bottom: 24px;
}
.lm-section-divider {
  border: none;
  border-top: 1px solid #f0e8ea;
  margin: 40px 0;
}

/* ============================================================
   ARTICLE / PROJECT PAGE CONTENT
   ============================================================ */
.lm-article p {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 2;
  color: #555;
  margin: 18px 0;
}
.lm-article h2.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-style: italic;
  color: #222;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0e8ea;
}
.lm-article ul, .lm-article ol {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  line-height: 2;
  color: #555;
  margin: 14px 0;
  padding-left: 20px;
}
.lm-article ul li, .lm-article ol li { margin-bottom: 6px; }
.lm-article a { color: #af5875; }
.lm-article a:hover { color: #7a3350; }
.lm-article img { max-width: 100%; height: auto; margin: 10px 0; }
.lm-article iframe { max-width: 100%; }
.lm-article .section-p-meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  display: block;
}
.lm-article-heading {
  font-family: 'Playfair Display', serif;
  font-size: 36px;
  font-style: italic;
  color: #222;
  font-weight: 700;
  margin: 0 0 8px;
  line-height: 1.2;
}
.lm-article-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  color: #777;
  margin: 0 0 6px;
}
.lm-article-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.lm-article-header {
  padding: 48px 0 36px;
  border-bottom: 1px solid #f0e8ea;
  margin-bottom: 40px;
}
.lm-github-link {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 22px;
  background: #af5875;
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: none;
  text-decoration: none;
}
.lm-github-link:hover { background: #7a3350; color: #fff; text-decoration: none; }
.lm-github-link .fa { margin-right: 6px; }
/* .lm-article a has higher specificity (class+tag) than .lm-github-link (class only).
   Boost with a second class selector so the white text always wins. */
.lm-article .lm-github-link,
.lm-article .lm-github-link:visited,
.lm-article .lm-github-link:focus { color: #fff; }
.lm-article .lm-github-link:hover { color: #fff; background: #7a3350; }

/* ============================================================
   BUTTON FIXES
   The base .btn uses white text + transparent bg (designed for dark
   backgrounds). .btn-1:hover swaps to transparent+white which is
   invisible on light sections. Override hover to stay solid red.
   ============================================================ */
.btn-1:hover,
a.btn-1:hover,
button.btn-1:hover {
    background: #7a3350 !important;
    color: #fff !important;
    border-color: #7a3350 !important;
}

/* Prevent Bootstrap's .btn:focus { color: #333 } from overriding
   white text on red buttons after click. */
a.btn:visited,
a.btn-1:visited {
    color: #fff;
    text-decoration: none;
}

a.btn:focus,
a.btn-1:focus,
button.btn:focus,
button.btn-1:focus {
    color: #fff;
    text-decoration: none;
}

/* ============================================================
   FOOTER SOCIAL ICON CIRCLES
   style.css sets .social_icons a { width:40px; height:40px } but
   footer .footer-link a { width:100% } has higher specificity and
   overrides the width, producing tall narrow ellipses instead of
   circles. Bump specificity here to restore square dimensions.
   ============================================================ */
footer .footer-link .social_icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  line-height: 40px;
  border-radius: 50%;
}

/* ============================================================
   RESPONSIVE TWEAKS
   ============================================================ */
@media (max-width: 600px) {
  .lm-skill-badge { font-size: 9px; padding: 3px 8px; }
  .lm-timeline-role { font-size: 12px; }
  .lm-about-lead { font-size: 16px; }
}
